package com.hdoit.apollo.logical.shop.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.tennetcn.data.dao.base.IMapper;
import com.tennetcn.data.message.PagerModel;
import com.hdoit.apollo.logical.shop.model.Payment;
import com.hdoit.apollo.logical.viewmodel.shop.PaymentSearch;

/**
 * @author      tancongzhu
 * @email       
 * @createtime  2018年05月04日 15:04:39
 * @comment
 */
@Repository(value="paymentMapper")
public interface PaymentMapper extends IMapper<Payment>{

	public Payment queryModelById(@Param("paymentId") String paymentId);

	public List<Payment> queryListMPForPurchase(@Param("search")PaymentSearch search,@Param("pager")PagerModel pagerModel);

	public int queryCountMPForPurchase(@Param("search")PaymentSearch search);

	public List<Payment> queryAccountDetail(@Param("search") PaymentSearch search);

}